<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/target}">访问目标页面target.html</a>
<br>
<a th:href="@{/hello/testmapping}">访问目标页面target.html</a><br>
<a th:href="@{/hello/utest}">testmapping2</a><br>
<a th:href="@{/hello/utest}">testmapping2</a><br>
<form th:action="@{/hello/testmethod}" method="post">
    <button  type="submit">postsubmit</button>
</form>
<form th:action="@{/hello/testmethod}" method="get">
    <button  type="submit">get submit</button>
</form>
<form th:action="@{/hello/testgetmapping}" method="get">
    <button  type="submit">testgetmapping submit</button>
</form>

</body>
</html>
